%% Waterfall plot of CDFs in Ordered Square geometry for sample scale conductivities 0.5, 0, -0.5
clear all; close all;
%%%%%%%%%%%%%%%%%%%% root
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
root = 'D:\';
%%%%%%%%%%

a = 4;
margin = 0.1;

load([root,'Compilation DiodeNatCom\figure 4\CDF_SO.mat'])
hFig = figure('color',[1,1,1],'Units','centimeter','Position',[4,4,a+2*margin,1.6*a+2*margin]); 
ax = axes('Units','centimeters');
LW = 3;
AR = 3/5;
ax.Position = [margin,margin, a, 1.6*a];box on;
offset = 0.33;
hold on;
plot(CDF(1).CDF,'color',[0,0,0],'LineWidth',LW);
plot(CDF(2).CDF+offset,'color',[1,0.25,0],'LineWidth',LW);
plot(CDF(3).CDF+2*offset,'color',[1,0.5,0],'LineWidth',LW);
plot(CDF(4).CDF+3*offset,'color',[1,0.75,0],'LineWidth',LW);

xlim([1,100]);
ylim([0,2])

